package com.atguigu.gulimall.product.vo;

import com.atguigu.gulimall.product.entity.SkuImagesEntity;
import com.atguigu.gulimall.product.entity.SkuInfoEntity;
import com.atguigu.gulimall.product.entity.SpuInfoDescEntity;
import lombok.Data;
import lombok.ToString;

import java.util.List;

/**
 * @author 马迎迎
 * @Title: SkuItemVo
 * @Package com.atguigu.gulimall.product.vo
 * @Description: TODO(添加描述)
 * @date 2021年05月25日 12:18
 */
@ToString
@Data
public class SkuItemVo {
    //1.sku基本信息  pms_sku_info
    SkuInfoEntity info;

    boolean hasStock=true;
    //2.sku图片信息 pms_spu_images
    List<SkuImagesEntity> images;

    //3.spu销售属性组合
    List<ItemSaleAttrVo> saleAttr;
    //4.获取spu介绍信息 pms_spu_info_desc
    SpuInfoDescEntity desc;
    //5.获取spu的规格参数信息
    List<SpuItemBaseAttrGroupVo> groupAttrs;

    private SeckillInfoVo seckillInfo;

}
